package routers

import (
	"github.com/gin-gonic/gin"
	v1 "mycms/api/ws/v1"
)

//	websocket路由
func WsApiRouters(e *gin.Engine)  {
	ws := e.Group("ws/v1")

	{
		ws.GET("/ping", v1.Ping)		//	测试
		ws.GET("/handle", v1.Handle)	//	websocket 事件
		ws.GET("/createRoom", v1.CreateRoom)
	}
}
